package org.easy.core.exception;


import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TokenException extends SysRuntimeException {

    private String data;

    public TokenException(String message) {
        super(505, message);
    }

    public TokenException(int code, String message) {
        super(message);
    }

    public TokenException(String message, String data, int code) {
        super(message);
        this.data = data;
    }


}
